﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MasterPageIframeCompany.aspx.cs"
    Inherits="HZ.Supervise.Web.Master.MasterPageIframeCompany" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Src="UserSiteMapPath.ascx" TagName="UserSiteMapPath" TagPrefix="uc1" %>
<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>监管系统</title>
    <link rel="stylesheet" type="text/css" href="../Style/s-type.css" />

    <script type="text/javascript" src="../scripts/My97DatePicker/WdatePicker.js"></script>

    <script type="text/javascript" src="../scripts/Common.js"></script>

    <script type="text/javascript" src="../scripts/global.js"></script>

    <script type="text/javascript" src="../scripts/PCASClass.js"></script>

    <script type="text/javascript" src="../scripts/jquery.js"></script>

    <script src="../scripts/DynaForm.js" type="text/javascript"></script>

    <script src="../scripts/GenUtils.js" type="text/javascript"></script>

    <script type="text/javascript" language="JavaScript">
        function logout() {
            if (confirm("确定要退出系统吗？")) {
                location.replace("../Common/logout.aspx");
            }
        }
        function IFrameReSize(iframename) {
            var pTar = document.getElementById(iframename);
            if (pTar) {  //ff
                if (pTar.contentDocument && pTar.contentDocument.body.offsetHeight) {
                    pTar.height = pTar.contentDocument.body.offsetHeight;
                } //ie
                else if (pTar.Document && pTar.Document.body.scrollHeight) {
                    pTar.height = pTar.Document.body.scrollHeight;

                }
            }
        }
        //iframe宽度自适应
        function IFrameReSizeWidth(iframename) {
            var pTar = document.getElementById(iframename);
            if (pTar) {  //ff
                if (pTar.contentDocument && pTar.contentDocument.body.offsetWidth) {
                    pTar.width = pTar.contentDocument.body.offsetWidth - 100;
                }  //ie
                else if (pTar.Document && pTar.Document.body.scrollWidth) {
                    pTar.width = pTar.Document.body.scrollWidth - 100;
                }
            }
        }
        function logout() {
            if (confirm("确定要退出系统吗？")) {
                location.replace("../Common/logout.aspx");
            }
        }

    </script>

    <script type="text/javascript">
        function seturl(sessionid) {
            $("#ifmain").attr("src", "../Secondphase/ReportCompany/ReportOfCompanyFirstLevel.aspx?sessionid=" + sessionid);
        }
    </script>

    <style type="text/css">
        .style2
        {
            width: 105px;
        }
    </style>
</head>
<body style="margin: 0; height: 100%; overflow: scroll" onload='IFrameReSize("ifmain");IFrameReSizeWidth("ifmain");'>
    <form id="form1" runat="server">
    <div id="container">
        <div id="s-top">
            <div id="s-head">
                <div id="s-logo">
                    <img src="../lib/images/second_logo.gif" />
                    <div id="s-p">您好：欢迎使用监管系统！<br />
                    <a href="#">[网站主页]</a> <a href="javascript:void(0);" onclick="CallFunc('../Admin/PasswordUpdate.aspx','FORM',null);">[修改密码]</a> 
                    <a href="javascript:void(0);" onclick="javascript:logout();return false;">[注销退出]</a> 
                 </div>                    
                </div>
                <div id="s-add">
                    <ul>
                        <li><a href="../Master/MasterPageIframeArea_New.aspx">
                            <img src="../lib/images/s-add-zx2.gif" /></a> </li>
                        <li><a href="../Master/MasterPageIframeStatistics.aspx">
                            <img src="../lib/images/s-add-bb.gif" /></a></li>
                        <li><a href="../Master/MasterPageIframeHospital.aspx">
                            <img src="../lib/images/s-add-yy.gif" /></a></li>
                        <li><a href="../Master/MasterPageIframeCompany.aspx">
                            <img src="../lib/images/s-add-qy.gif" /></a></li>
                        <li><a href="../Master/MasterPageIframeArea.aspx">
                            <img src="../lib/images/s-add-dq.gif" /></a></li>
                        <li><a href="../Master/MasterPageIframeSort.aspx">
                            <img src="../lib/images/s-add-lb.gif" /></a></li>
                      <li><a href="../Default.aspx" target="_self">
                            <img src="../lib/images/s-add-zdy.gif" /></a></li>
                        <li><a href="../Master/MasterPageIframeComparison.aspx">
                            <img src="../lib/images/s-add-db.gif" /></a></li>
                    </ul>
                </div>
            </div>
<%--            <div id="s-hello">
                <div id="s-hello-l">
                    您好：欢迎使用监管系统！</div>
                <div id="s-hello-r">
                    <ul>
                        <li><a href="#">[网站主页]</a></li>
                        <li><a href="javascript:void(0);" onclick="CallFunc('../Admin/PasswordUpdate.aspx','FORM',null);">
                            [修改密码]</a></li>
                        <li><a href="javascript:void(0);" onclick="javascript:logout();return false;">[注销退出]</a></li>
                    </ul>
                </div>
            </div>--%>
        </div>
        <div id="s-center">
            <div id="s-left">
                <div id="s-nav_wrap" style="height: 80px;">
                    <div id="s-nav">
                        <ul class="c">
                            <li class="s-title"><span class="v">
                                <img src="../lib/images/s-img1.gif" />检索</span> </li>
                        </ul>
                    </div>
                    <div style="text-align: center;">
                        <asp:RadioButtonList ID="rblcompanytype" runat="server" RepeatDirection="Horizontal"
                            CellPadding="1" CellSpacing="1" AutoPostBack="True" OnSelectedIndexChanged="rblcompanytype_SelectedIndexChanged"
                            Height="28px" Width="154px">
                            <asp:ListItem Value="1" Text="生产企业"></asp:ListItem>
                            <asp:ListItem Value="2" Text="配送企业" Selected="True"></asp:ListItem>
                        </asp:RadioButtonList>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td>
                                    <asp:Label ID="lbname" runat="server" Text="企业名称 "></asp:Label>
                                </td>
                                <td class="style2">
                                    <asp:TextBox ID="txtname" runat="server" Height="16px" Width="102px"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:ImageButton ID="ImageButton1" runat="server" OnClick="btnQuery_Click" ImageUrl="~/lib/images/s-search.gif"
                                        Width="50px" Height="20px" text="查询" ToolTip="点击查询符合条件的数据" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div id="s-yy">
                    <div id="s-yy-title">
                        <img src="../lib/images/s-img1.gif" />企业名称</div>
                    <div id="s-yy-content">
                        <asp:GridView ID="gvwselect" runat="server" CssClass="table2" AutoGenerateColumns="False"
                            Width="100%" OnRowDataBound="gvwselect_RowDataBound">
                            <Columns>
                                <asp:BoundField DataField="CompanyName" HeaderText="企业名称" ItemStyle-HorizontalAlign="Center">
                                </asp:BoundField>
                            </Columns>
                        </asp:GridView>
                        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged"
                            NumericButtonCount="5" ReverseUrlPageIndex="True" 
                            ShowDisabledButtons="False" ShowNavigationToolTip="True" 
                            ShowPageIndexBox="Never">
                        </webdiyer:AspNetPager>
                    </div>
                </div>
            </div>
            <div id="s-main">
                <iframe id="ifmain" name="mainWorkArea" src="../Secondphase/ReportCompany/ReportOfCompanyFirstLevel.aspx"
                    scrolling="yes" frameborder="0" height="100%" width="100%"></iframe>
            </div>
        </div>
        <div id="s-bottom">
            江苏华招网信息技术有限公司 技术支持         </div>
    </div>
    </form>
</body>
</html>
